home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Library / Manuels & Misc / Assembly / AOA.ZIP / CH08 / EX8_3.ASM < prev    next >
Encoding:
Assembly Source File  |  1996-02-07  |  352 b   |  18 lines

  1. ; Ex8_3.asm
  2. ;
  3. ; Comparison of numeric equates with textual equates
  4. ; and the differences they produce at assembly time.
  5. ;
  6. cseg        segment
  7. equ1        equ    $+2        ;Evaluates "$" at this stmt.
  8. equ2        equ    <$+2>        ;Evaluates "$" on use.
  9. MyProc        proc
  10.         mov    ax, 0
  11.         lea    bx, equ1
  12.         lea    bx, equ2
  13.         lea    bx, equ1
  14.         lea    bx, equ2
  15. MyProc        endp
  16. cseg        ends
  17.         end
  18.